﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="CustomerList.aspx.cs" Inherits="Customer_Profile.ClientManage.CustomerList" %>
<%@ Register Src="../mainTop.ascx" TagName="mainTop" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Customer List</title>
    <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR" />
    <meta content="C#" name="CODE_LANGUAGE" />
    <meta content="JavaScript" name="vs_defaultClientScript" />
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/css/style.css" type="text/css" rel="stylesheet" />

    <script language="javascript" type="text/javascript" src="/js/common.js"></script>

    <script language="javascript" type="text/javascript" src="/js/CalPopUp.js"></script>
    
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0">
    <form id="Form1" name="form1" action="" method="post" runat="server">
        <table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
            <tr>
                <td width="1" background="/images/dot_vline.gif">
                    <img height="1" src="/images/spacer.gif" width="1"></td>
                <td valign="top" width="15">
                    <img height="1" src="/images/spacer.gif" width="15"></td>
                <td valign="top">
                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tr>
                            <td height="23">
                            <uc1:mainTop ID="MainTop1" runat="server" />
                                <span class="navi-blu"><span class="navi-blk">Index &gt; Customer Manage &gt; Customer Query(<span style="color:Green;">This is a search page</span>)</span> </span>
                            </td>
                        </tr>
                        <tr>
                            <td background="/images/dot_hline.gif">
                                <img height="1" src="/images/spacer.gif" width="1"></td>
                        </tr>
                    </table>
                    <table style="position: relative; top: 6px" cellspacing="0" cellpadding="0" width="100%"
                        border="0">
                        <tr>
                            <td>
                                <img height="6" src="/images/corner_lft1.gif" width="6"></td>
                            <td>
                                <div align="right">
                                    <img height="6" src="/images/corner_rgt1.gif" width="6"></div>
                            </td>
                        </tr>
                    </table>
                    <table cellspacing="1" cellpadding="4" width="100%" bgcolor="#c8c8c8" border="0">
                        <tr bgcolor="#e9e9e9">
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="95" style="height: 18px">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">IB
                                            ID：</td>
                                        <td style="height: 18px">
                                            <input class="input2" id="txtibid" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="100">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">IB
                                            login Name：</td>
                                        <td>
                                            <input class="input2" id="txtibloginname" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="100">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Phone Pwd：</td>
                                        <td>
                                            <input class="input2" id="txtkvbid" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr bgcolor="#e9e9e9">
                            <td height="24">
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="95">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">First
                                            Name：</td>
                                        <td>
                                            <input class="input2" id="txtFirstName" type="text" size="20" name="name" runat="server"></td>
                                    </tr>
                                </table>
                            </td>
                            <td colspan="2">
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="100" height="21">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Last Name：</td>
                                        <td>
                                            <input class="input2" id="txtLastName" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table style="position: relative; top: -6px" cellspacing="0" cellpadding="0" width="100%"
                        border="0">
                        <tr>
                            <td>
                                <img height="6" src="/images/corner_lft2.gif" width="6"></td>
                            <td>
                                <div align="right">
                                    <img height="6" src="/images/corner_rgt2.gif" width="6"></div>
                            </td>
                        </tr>
                    </table>
                    <table style="position: relative; top: 1px" cellspacing="0" cellpadding="0" width="100%"
                        border="0">
                        <tr>
                            <td>
                                <img height="6" src="/images/corner_lft1.gif" width="6"></td>
                            <td>
                                <div align="right">
                                    <img height="6" src="/images/corner_rgt1.gif" width="6"></div>
                            </td>
                        </tr>
                    </table>
                    <table cellspacing="1" style="margin-top:-5px;" cellpadding="4" width="100%" bgcolor="#c8c8c8" border="0">
                        <tr bgcolor="#e9e9e9">
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="95" height="21">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Home
                                            No.：</td>
                                        <td>
                                            <input class="input2" id="txthometel" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="100" style="height: 18px">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Work
                                            No.：</td>
                                        <td style="height: 18px">
                                            <input class="input2" id="txtworktel" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="100">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Fax
                                            No.：</td>
                                        <td>
                                            <input class="input2" id="txtFax" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr bgcolor="#e9e9e9">
                            <td colspan="3">
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="95">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Email：</td>
                                        <td>
                                            <input class="input2" id="txtEmail" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table style="position: relative; top: -6px" cellspacing="0" cellpadding="0" width="100%"
                        border="0">
                        <tr>
                            <td>
                                <img height="6" src="/images/corner_lft2.gif" width="6"></td>
                            <td>
                                <div align="right">
                                    <img height="6" src="/images/corner_rgt2.gif" width="6"></div>
                            </td>
                        </tr>
                    </table>
                    <table style="position: relative; top: 1px" cellspacing="0" cellpadding="0" width="100%"
                        border="0">
                        <tr>
                            <td>
                                <img height="6" src="/images/corner_lft1.gif" width="6"></td>
                            <td>
                                <div align="right">
                                    <img height="6" src="/images/corner_rgt1.gif" width="6"></div>
                            </td>
                        </tr>
                    </table>
                    <table cellspacing="1" style="margin-top:-5px;" cellpadding="4" width="100%" bgcolor="#c8c8c8" border="0">
                        <tr bgcolor="#e9e9e9">
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="95">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Status：</td>
                                        <td>
                                            <asp:DropDownList ID="ddlstatus" CssClass="input3" runat="server" Width="135">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="100">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Advisor：</td>
                                        <td>
                                            <asp:DropDownList ID="ddlAdvisor" CssClass="input3" runat="server" Width="135">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="100">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Location：</td>
                                        <td>
                                            <asp:DropDownList ID="ddllocal" CssClass="input3" runat="server" Width="135">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <%--<td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="100">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">ModifyDate：</td>
                                        <td>
                                            <asp:TextBox ID="txtmodifydatebegin" runat="server" CssClass="input2" Width="80px"></asp:TextBox><img
                                                style="cursor: hand" onclick="JavaScript:calPopForCMon(txtmodifydatebegin, 'ss');"
                                                height="14" src="/images/dot_date.gif" width="16" align="absMiddle">
                                            ～
                                            <asp:TextBox ID="txtmodifydateend" runat="server" CssClass="input2" Width="80px"></asp:TextBox><img
                                                style="cursor: hand" onclick="JavaScript:calPopForCMon(txtmodifydateend, 'ss');"
                                                height="14" src="/images/dot_date.gif" width="16" align="absMiddle">
                                        </td>
                                    </tr>
                                </table>
                            </td>--%>
                        </tr>
                        <tr bgcolor="#e9e9e9">
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="95">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">FIN
                                            No.：</td>
                                        <td>
                                            <input id="txtfinno" class="input2" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td colspan="2">
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="100">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">CSN
                                            No.：</td>
                                        <td>
                                            <input class="input2" id="txtcsnno" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table style="position: relative; top: -6px" cellspacing="0" cellpadding="0" width="100%"
                        border="0">
                        <tr>
                            <td>
                                <img height="6" src="/images/corner_lft2.gif" width="6"></td>
                            <td>
                                <div align="right">
                                    <img height="6" src="/images/corner_rgt2.gif" width="6"></div>
                            </td>
                        </tr>
                    </table>
                    <table style="position: relative; top: 1px" cellspacing="0" cellpadding="0" width="100%"
                        border="0">
                        <tr>
                            <td>
                                <img height="6" src="/images/corner_lft1.gif" width="6"></td>
                            <td>
                                <div align="right">
                                    <img height="6" src="/images/corner_rgt1.gif" width="6"></div>
                            </td>
                        </tr>
                    </table>
                    <table cellspacing="1" style="margin-top:-5px;" cellpadding="4" width="100%" bgcolor="#c8c8c8" border="0">
                        <tr bgcolor="#e9e9e9">
                            <td colspan="3">
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="130">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">CreateDate：</td>
                                        <td>
                                            From&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:TextBox ID="txtcreatedatebegin" runat="server" CssClass="input2" Width="120px"></asp:TextBox>&nbsp;&nbsp;&nbsp;<img
                                                style="cursor: hand" onclick="JavaScript:calPopForCMon(txtcreatedatebegin, 'ss');"
                                                height="14" src="/images/dot_date.gif" width="16" align="absMiddle">
                                            &nbsp;&nbsp;&nbsp;&nbsp;To&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:TextBox ID="txtcreatedateend" runat="server" CssClass="input2" Width="120px"></asp:TextBox>&nbsp;&nbsp;&nbsp;<img
                                                style="cursor: hand" onclick="JavaScript:calPopForCMon(txtcreatedateend, 'ss');"
                                                height="14" src="/images/dot_date.gif" width="16" align="absMiddle">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr bgcolor="#e9e9e9">
                            <td colspan="3">
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="130">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Last
                                            Modified Date：</td>
                                        <td>
                                            From&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:TextBox ID="txtmodifydatebegin" runat="server" CssClass="input2" Width="120px"></asp:TextBox>&nbsp;&nbsp;&nbsp;<img
                                                style="cursor: hand" onclick="JavaScript:calPopForCMon(txtmodifydatebegin, 'ss');"
                                                height="14" src="/images/dot_date.gif" width="16" align="absMiddle">
                                            &nbsp;&nbsp;&nbsp;&nbsp;To&nbsp;&nbsp;&nbsp;&nbsp;
                                            <asp:TextBox ID="txtmodifydateend" runat="server" CssClass="input2" Width="120px"></asp:TextBox>&nbsp;&nbsp;&nbsp;<img
                                                style="cursor: hand" onclick="JavaScript:calPopForCMon(txtmodifydateend, 'ss');"
                                                height="14" src="/images/dot_date.gif" width="16" align="absMiddle">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr bgcolor="#e9e9e9">
                            <td colspan="3" align="right">
                                <table cellspacing="0" cellpadding="0" width="25%" border="0">
                                    <tr>
                                        <td>
                                            <div align="center">
                                                <input class="button" id="btnSearch" type="submit" value="Search" name="check" runat="server"
                                                    onserverclick="btnSearch_ServerClick" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                <input class="button" id="btnadd" type="submit" value="Add" name="check" runat="server"
                                                    onserverclick="btnadd_ServerClick" />
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <%--<tr bgcolor="#e9e9e9">
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="95" style="height: 18px">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">A/C
                                            No.：</td>
                                        <td style="height: 18px">
                                            <input class="input2" id="txtacno" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="95" style="height: 18px">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Country：</td>
                                        <td style="height: 18px">
                                            <input id="txtcountry" runat="server" class="input2" name="name" size="20" type="text">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="100">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Postal
                                            code：</td>
                                        <td>
                                            <input id="txtPostcode" class="input2" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        
                        <tr bgcolor="#e9e9e9">
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="95" style="height: 18px">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Title：</td>
                                        <td style="height: 18px">
                                            <asp:DropDownList ID="ddltitle" Width="135" CssClass="input3" runat="server">
                                                <asp:ListItem Text="All" Value="All" Selected="True"></asp:ListItem>
                                                <asp:ListItem Text="男" Value="男"></asp:ListItem>
                                                <asp:ListItem Text="女" Value="女"></asp:ListItem>
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            
                        </tr>
                        <tr bgcolor="#e9e9e9">
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="95" style="height: 18px">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Address：</td>
                                        <td style="height: 18px">
                                            <input class="input2" id="txtaddress" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="100">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">City：</td>
                                        <td>
                                            <input id="txtcity" class="input2" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="95">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Province：</td>
                                        <td>
                                            <input class="input2" id="txtProvince" type="text" size="20" name="name" runat="server">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>--%>
                        <%--<tr bgcolor="#e9e9e9">
                            <td colspan="3">
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td width="90">
                                            <img height="9" hspace="5" src="/images/arw_gry_rgt.gif" width="9" align="absMiddle">Remarks：</td>
                                        <td>
                                            <asp:TextBox ID="txtremarks" Width="98%" Rows="3" TextMode="multiLine" runat="server"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>--%>
                    </table>
                    <table style="position: relative; top: -6px" cellspacing="0" cellpadding="0" width="100%"
                        border="0">
                        <tr>
                            <td>
                                <img height="6" src="/images/corner_lft2.gif" width="6"></td>
                            <td>
                                <div align="right">
                                    <img height="6" src="/images/corner_rgt2.gif" width="6"></div>
                            </td>
                        </tr>
                    </table>
                    <br>
                    <table bordercolor="#c2d2e2" cellspacing="0" cellpadding="2" width="100%" border="1">
                        <tr>
                            <td>
                                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                                    <tr>
                                        <td bgcolor="#1765a7">
                                            <img height="11" src="/images/pic_results.gif" width="61"></td>
                                    </tr>
                                </table>
                                <table cellspacing="0" cellpadding="0" width="100%" border="1">
                                    <tr>
                                        <td class="bglist" width="15%">
                                            FirstName</td>
                                        <td class="bglist">
                                            <img height="16" src="/images/dot_vline2.gif" width="1"></td>
                                        <td class="bglist" width="15%">
                                            Last Name</td>
                                        <td class="bglist">
                                            <img height="16" src="/images/dot_vline2.gif" width="1"></td>
                                        <td class="bglist" width="14%">
                                            IB ID</td>
                                        <td class="bglist">
                                            <img height="16" src="/images/dot_vline2.gif" width="1"></td>
                                        <td class="bglist" width="14%">
                                            IB LoginName</td>
                                        <td class="bglist">
                                            <img height="16" src="/images/dot_vline2.gif" width="1"></td>
                                        <td class="bglist" width="13%">
                                            Birthday</td>
                                        <td class="bglist">
                                            <img height="16" src="/images/dot_vline2.gif" width="1"></td>
                                        <td class="bglist" width="13%">
                                            Phone Password</td>
                                        <td class="bglist">
                                            <img height="16" src="/images/dot_vline2.gif" width="1"></td>
                                        <td class="bglist" width="8%">
                                            Status</td>
                                        <td class="bglist">
                                            <img height="16" src="/images/dot_vline2.gif" width="1"></td>
                                        <td class="bglist" width="8%">
                                            Edit</td>
                                    </tr>
                                    <tr>
                                        <td colspan="15">
                                            <font face="宋体">
                                                <div style="overflow: auto; width: 100%; height: 100%">
                                                    <asp:GridView ID="GvData" runat="server" ShowHeader="False" AutoGenerateColumns="False"
                                                        BorderWidth="1px" Width="100%" HorizontalAlign="Center" Font-Size="Smaller" DataKeyNames="Guid"
                                                        OnRowDataBound="GvData_RowDataBound" AllowPaging="True" OnPageIndexChanging="GvData_PageIndexChanging">
                                                        <HeaderStyle HorizontalAlign="Center" BorderStyle="Groove" BackColor="#C0C0FF" />
                                                        <RowStyle HorizontalAlign="Center" CssClass="bglist-2" />
                                                        <Columns>
                                                            <asp:HyperLinkField DataNavigateUrlFields="Guid" DataNavigateUrlFormatString="CustomerDetail.aspx?Guid={0}"
                                                                DataTextField="FirstName" HeaderText="FirstName">
                                                                <ItemStyle Width="15%" />
                                                            </asp:HyperLinkField>
                                                            <asp:BoundField DataField="LastName" HeaderText="Last Name">
                                                                <ItemStyle Width="15%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField DataField="IBID" HeaderText="IB ID">
                                                                <ItemStyle Width="14%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField DataField="IBLoginName" HeaderText="IB LoginName">
                                                                <ItemStyle Width="14%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField DataField="Birthday" HeaderText="" DataFormatString="{0:yyyy-MM-dd}">
                                                                <ItemStyle Width="13%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField DataField="PhonePassword" HeaderText="">
                                                                <ItemStyle Width="13%" />
                                                            </asp:BoundField>
                                                            <asp:TemplateField HeaderText="status" ShowHeader="False" ItemStyle-Width="8%">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="LinkButton1" Text='<%#Eval("Status") %>' runat="server" OnClick="LinkButton1_Click"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:HyperLinkField DataNavigateUrlFields="Guid" DataNavigateUrlFormatString="CustomerAdd.aspx?Guid={0}"
                                                                HeaderText="Edit" Text="Edit">
                                                                <ItemStyle Width="8%" />
                                                            </asp:HyperLinkField>
                                                        </Columns>
                                                    </asp:GridView>
                                                </div>
                                            </font>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <table cellspacing="0" cellpadding="0" width="100%" border="0">
                        <tr>
                            <td>
                                <img height="3" src="/images/spacer.gif" width="1"></td>
                        </tr>
                    </table>
                    <br>
                </td>
                <td valign="top" width="10">
                    <img height="1" src="/images/spacer.gif" width="10"></td>
            </tr>
        </table>
    </form>
</body>
</html>
